#ifndef __Framework_h__
#define __Framework_h__
#include "vmsys.h"

typedef VMINT BOOL;
typedef void (*FuncPtr) (void);

typedef struct
{
	FuncPtr InitFuncPtr;
	FuncPtr DrawFuncPtr;
	FuncPtr FreeFuncPtr;
}mmi_framework_func;

extern void iMTKooSystemInit(void);

extern void iMTKooKeyEventHandle(VMINT event, VMINT keycode);
extern void iMTKooTouchEventHandle(VMINT event, VMINT x, VMINT y);
extern void iMTKooSystemEventHandle(VMINT message, VMINT param);

extern void RegisteriMTKooInitFunc(FuncPtr Func);
extern void RegisteriMTKooDrawFunc(FuncPtr Func);
extern void RegisteriMTKooFreeFunc(FuncPtr Func);


extern VMUINT8* GetHDFrameBuffer(void);

#endif
